﻿namespace CommLib
{
    public class Contact
    {
        public readonly static int FIELD_COUNT = 3;

	    private readonly int mId;
	    private readonly string mName;
	    private readonly string[] mNumbers;

	    public Contact(int id, string name, string[] numbers) 
        {
		    mId = id;
		    mName = name;
		    mNumbers = numbers;
	    }

	    public int getId() 
        {
		    return mId;
	    }

	    public string Name
        {
            get { return mName; }
	    }

	    public string[] getNumbers() 
        {
		    return mNumbers;
	    }

	    public override string ToString() {
		    return mName;
	    }
    }
}
